package com.tc.controller;

import com.tc.R;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: wangyifan
 * @Date: 2022/03/02 14:59
 * @Description: $end$
 * @Version: V1.0
 */
@RestController
@RequestMapping("/user")
public class UserController {

    public R addUser(String username){
        R r = new R();
        r.setCode(200);
        r.setMsg("增加用户："+username+"成功");
        return r;
    }
}
